package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author wb
 * @since 2022-01-04
 */
@ApiModel(value = "Sysbanner对象", description = "")
public class Sysbanner implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bannerid", type = IdType.AUTO)
    private Integer bannerid;
    // 图片地址
    private String bannerurl;

    private String bannerdesc;

    @ApiModelProperty(value = "1--可用   0--不可用")
    private Integer bannerstate;

    @ApiModelProperty(value = "升序排列 1-n")
    private Integer bannersort;
    // 链接
    private String bannerlink;

    @ApiModelProperty(value = "1--课程  2--其他小程序")
    private Integer bannerlinktype;


    public Integer getBannerid() {
        return bannerid;
    }

    public void setBannerid(Integer bannerid) {
        this.bannerid = bannerid;
    }

    public String getBannerurl() {
        return bannerurl;
    }

    public void setBannerurl(String bannerurl) {
        this.bannerurl = bannerurl;
    }

    public String getBannerdesc() {
        return bannerdesc;
    }

    public void setBannerdesc(String bannerdesc) {
        this.bannerdesc = bannerdesc;
    }

    public Integer getBannerstate() {
        return bannerstate;
    }

    public void setBannerstate(Integer bannerstate) {
        this.bannerstate = bannerstate;
    }

    public Integer getBannersort() {
        return bannersort;
    }

    public void setBannersort(Integer bannersort) {
        this.bannersort = bannersort;
    }

    public String getBannerlink() {
        return bannerlink;
    }

    public void setBannerlink(String bannerlink) {
        this.bannerlink = bannerlink;
    }

    public Integer getBannerlinktype() {
        return bannerlinktype;
    }

    public void setBannerlinktype(Integer bannerlinktype) {
        this.bannerlinktype = bannerlinktype;
    }

    @Override
    public String toString() {
        return "Sysbanner{" +
                "bannerid=" + bannerid +
                ", bannerurl=" + bannerurl +
                ", bannerdesc=" + bannerdesc +
                ", bannerstate=" + bannerstate +
                ", bannersort=" + bannersort +
                ", bannerlink=" + bannerlink +
                ", bannerlinktype=" + bannerlinktype +
                "}";
    }
}
